package com.ruoyi.project.system.departmentcontacts.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 ve_departmentcontacts
 * 
 * @author ruoyi
 * @date 2024-01-06
 */
public class VeDepartmentcontacts extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID   */
    private Long ContactID;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String deptName;

    /** 联系人姓名 */
    @Excel(name = "联系人姓名")
    private String userName;

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String PhoneNumber;

    /** 电子邮件地址 */
    @Excel(name = "电子邮件地址")
    private String Email;

    /** 备注或注释 */
    @Excel(name = "备注或注释")
    private String Comments;

    @Excel(name = "部门ID")
    private Long deptId;
    @Excel(name = "联系人ID")
    private Long userId;

    public Long getDeptId() {
        return deptId;
    }
    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }
    public Long getUserId() {
        return userId;
    }
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public void setContactID(Long ContactID)
    {
        this.ContactID = ContactID;
    }

    public Long getContactID()
    {
        return ContactID;
    }

    public void setPhoneNumber(String PhoneNumber)
    {
        this.PhoneNumber = PhoneNumber;
    }

    public String getPhoneNumber()
    {
        return PhoneNumber;
    }
    public void setEmail(String Email)
    {
        this.Email = Email;
    }

    public String getEmail()
    {
        return Email;
    }
    public void setComments(String Comments)
    {
        this.Comments = Comments;
    }

    public String getComments()
    {
        return Comments;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("ContactID", getContactID())
            .append("PhoneNumber", getPhoneNumber())
            .append("Email", getEmail())
            .append("Comments", getComments())
            .append("deptId", getDeptId())
            .append("userId", getUserId())
            .toString();
    }
}
